26d332eb2909281152d7ed8232cb7e5c6469ca0c,services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/basic_auth/JaxrsBasicAuthTest.java,JaxrsBasicAuthTest,doubleIt,#String#String#boolean#,75
Before Change
final String address = "https://localhost:" + PORT + "/doubleit/services/doubleit-rs";
final int numToDouble = 25;
WebClient client = WebClient.create(address, username, password, configLocation);
client.type("text/plain").accept("text/plain");
try {
int resp = client.post(numToDouble, Integer.class);
After Change
final int numToDouble = 25;
WebClient client = null;
if (username != null && password != null) {
client = WebClient.create(address, username, password, configLocation);
} else {
client = WebClient.create(address, configLocation);
}
client.type("text/plain").accept("text/plain");
try {